package com.xujiang.myblog.entity;

import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * Created by xujiang on 2017/4/12.
 * 底部标题栏实体类
 */

public class TabEntity implements CustomTabEntity {

    public String titile;
    public int selectedIcon;
    public int unSelectedIcon;

    public TabEntity(String titile,int selectedIcon,int unSelectedIcon){
        this.titile = titile;
        this.selectedIcon =selectedIcon;
        this.unSelectedIcon = unSelectedIcon;

    }

    @Override
    public String getTabTitle() {
        return titile;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }


}
